package ua.com.stormlabs.tiny.licenseserver.storage;

import java.util.List;

/**
 * @author Denis Bondarenko
 * @version 1.0 Sep 16, 2010
 */
public class RequestResult<T> {

    private final List<T> result;
    private final long total;

    public RequestResult(List<T> result, long total) {
        this.result = result;
        this.total = total;
    }

    public List<T> getResult() {
        return result;
    }

    public long getTotalCount() {
        return total;
    }
}
